<div ng-include src="tpl/public/header.html"></div>
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li>销售部激励人员配置</li>
  </ol>
  
  <form class="form-inline search-box" role="form" ng-submit="submitAdd()" novalidate>
    <div class="form-group">
      <label>人员配置（例：13052357696,1,胡启云,300 。对应手机号，抽奖次数,名字,销售金额 名字和销售金额可不填写。多个换行，每次配置会删除历史配置数据）</label>
       <div class="controls">
          <textarea style="height: 200px;" class="textarea input-event w500" 
          ng-model="item.salesPrizesPeople"></textarea>
      </div>
    </div>
    <button type="submit" class="btn btn-default">提交</button>
  </form>
  
  <table class="table table-striped table-hover">
    <thead>
    <tr>
      <th width="70" rowspan="2">销售姓名</th>
      <th width="70" rowspan="2">销售业绩</th>
      <th width="70" rowspan="2">手机号</th>
      <th width="70" rowspan="2">抽奖次数</th>
      <th width="70" rowspan="2">已抽奖次数</th>
    </tr>
    </thead>
    <tbody>
      <tr ng-repeat="li in iteminfo">
        <td width="70">{{li.salesName}}</td>
        <td width="70">{{li.salesAmount}}</td>
        <td width="70">{{li.salesPhone}}</td>
        <td width="70">{{li.prizesCount}}</td>
        <td width="70">{{li.prizesPassCount}}</td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="iteminfo.length > 0"></div>


</div>
